package matrix;

import model.DoorModel;

public class GraphDoorLink extends GraphLink
{
	private DoorModel door;
	
	public GraphDoorLink(DoorModel door, GraphNode firstNode, GraphNode secondNode)
	{
		super(door.getID(), firstNode, secondNode);
		this.setDoor(door);
	}

	public DoorModel getDoor() {
		return door;
	}

	public void setDoor(DoorModel door) {
		this.door = door;
	}
}
